package org.xukai.spark.dataframe.java;

import com.google.common.collect.Lists;

import java.io.Serializable;
import java.util.List;

/**
 * @author xukai
 * @desc
 * @date 2017-11-25-下午 9:59
 */
public class StudentSpark implements Serializable {

    private List<String> list = Lists.newArrayList("1", "2", "3");

    private int id;

    private String name;

    private int age;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
